#include "stdtype.h"

#ifndef __MAIN__
#define __MAIN__
//compiler selection

//System Registers
#define	STATUS					(*(volatile U8 xdata*)0x202)
#define	WDT						(*(volatile U8 xdata*)0x203)
#define	WDTCLR					(*(volatile U8 xdata*)0x204)
#define EXTCLK					(*(volatile U8 xdata*)0x205)
#define	WAKEUP_PULSE			(*(volatile U8 xdata*)0x209)
#define	SUSPEND					(*(volatile U8 xdata*)0x20a)
#define	FEATURE_ENA				(*(volatile U8 xdata*)0x20b)
#define	P2DIFF					(*(volatile U8 xdata*)0x20d)
#define	P3DIFF					(*(volatile U8 xdata*)0x20e)
#define P0PUR					(*(volatile U8 xdata*)0x219)
#define P1PUR					(*(volatile U8 xdata*)0x21a)
#define P2PUR					(*(volatile U8 xdata*)0x21b)
#define P3PUR					(*(volatile U8 xdata*)0x21c)
#define P4PUR					(*(volatile U8 xdata*)0x21d)
#define P5PUR					(*(volatile U8 xdata*)0x21e)
//RF_CMD	
#define RF_CMD_BIT				(0x0F)
#define KB_DATA_CMD				(0x06)
#define MS_DATA_CMD				(0x01)
//==============================================

#endif